# .PHONY: mq_connectiontest


# mq_connectiontest:mq_connectiontest.cpp ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc
# 	g++ -g -std=c++11 $^ -o $@ -L./lib -lmuduo_net -lmuduo_base -lgtest -lprotobuf -lsqlite3 -I./include
mq_channeltest:mq_channeltest.cpp ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc
	g++ -g -std=c++11 $^ -o $@ -L./lib -lmuduo_net -lmuduo_base -lgtest -lprotobuf -lsqlite3 -I./include
mq_consumertest:mq_consumertest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread
mq_routetest:mq_routetest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread
mq_hosttest:mq_hosttest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread
mq_msgtest:mq_msgtest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -lpthread
mq_binding:mq_binding.cpp
	g++ -std=c++11 -o $@ $^ -lgtest -lprotobuf -lsqlite3 -lpthread
mq_queuetest:mq_queuetest.cpp
	g++ -std=c++11 -o $@ $^ -lgtest -lprotobuf -lsqlite3 -lpthread
mq_exchangetest:mq_exchangetest.cpp
	g++ -std=c++11 -o $@ $^ -lgtest -lprotobuf -lsqlite3 -lpthread
mq_filetest:mq_filetest.cpp
	g++ -std=c++11 -o $@ $^
.PHONY:
clean:
	rm -f mq_filetest mq_exchangetest